package com.rbs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data //这个注解会帮你生成get和set方法 无参构造 toString
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class Phone {
    private Integer pid;
    private String pname;
    private BigDecimal price;
    private Integer state;
    private Integer brandId;
}
